home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 8 / Night Owl CD-ROM (NOPV8) (Night Owl Publisher) (1993).ISO / 034a / aecur101.arj / CONTRIB / CURSES / INC / PCKBSCAN.H < prev    next >
C/C++ Source or Header  |  1990-03-08  |  2KB  |  81 lines

  1. /**********************************************************************
  2.  *  
  3.  *  pckbscan.h
  4.  *  
  5.  *  copyright (c) 1988,89,90 J. Alan Eldridge
  6.  *
  7.  *  scan codes returned by BIOS int 16h
  8.  *  
  9.  *********************************************************************/
  10.  
  11. #ifndef __PCKBSCAN__
  12. #define __PCKBSCAN__
  13.  
  14. #define FUNC_1      59
  15. #define FUNC_1S     84
  16. #define FUNC_1C     94
  17. #define FUNC_1A     104
  18. #define FUNC_11     133
  19. #define FUNC_11S    135
  20. #define FUNC_11C    137
  21. #define FUNC_11A    139
  22.  
  23. #define NULL_CHAR   3
  24.  
  25. #define SHIFT_TAB   15
  26.  
  27. #define ALT_Q       16
  28. #define ALT_W       17
  29. #define ALT_E       18
  30. #define ALT_R       19
  31. #define ALT_T       20
  32. #define ALT_Y       21
  33. #define ALT_U       22
  34. #define ALT_I       23
  35. #define ALT_O       24
  36. #define ALT_P       25
  37.  
  38. #define ALT_A       30
  39. #define ALT_S       31
  40. #define ALT_D       32
  41. #define ALT_F       33
  42. #define ALT_G       34
  43. #define ALT_H       35
  44. #define ALT_J       36
  45. #define ALT_K       37
  46. #define ALT_L       38
  47.  
  48. #define ALT_Z       44
  49. #define ALT_X       45
  50. #define ALT_C       46
  51. #define ALT_V       47
  52. #define ALT_B       48
  53. #define ALT_N       49
  54. #define ALT_M       50
  55.  
  56. #define HOME        71
  57. #define UP          72
  58. #define PGUP        73
  59. #define LEFT        75
  60. #define RIGHT       77
  61. #define ENDKEY      79
  62. #define DOWN        80
  63. #define PGDN        81
  64. #define INSRT       82
  65. #define DEL         83
  66.  
  67. #define C_PRTSC     114
  68. #define C_LEFT      115
  69. #define C_RIGHT     116
  70. #define C_END       117
  71. #define C_PGDN      118
  72. #define C_HOME      119
  73.  
  74. #define ALT_1       120
  75.  
  76. #define ALT_MINUS   130
  77. #define ALT_EQUAL   131
  78. #define C_PGUP      132
  79.  
  80. #endif  /* __PCKBSCAN__ */
  81.